package com.gj.costprice.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by Hasee on 2021-06-24.
 */
@Data
public class CostPriceAddVo {



    private Integer id;
    private String legalPersonCode;          //法人编码
    private String legalPersonName;          //法人名称

    private String legalPlantCode;           //工厂编码

    private String materialCode;             //备件编码
    private String  materialName;             //备件名称

    private Integer taxType;                  //含税类型

    private Integer priceType;                 //价格分类

    private Integer currencyCode;              //币别
    @NotNull(message = "价格不允许为空")
    private Double price;                     //价格

    @JsonFormat(pattern = "yyyy-MM-dd ",timezone = "GMT+8")
    private String startTime;           //有效开始时间
    @JsonFormat(pattern = "yyyy-MM-dd ",timezone = "GMT+8")
    private String endTime;            //有效结束时间

    private String remark;                 //备注

}



